import mockjs from 'mockjs';
import util from './util';
export default {
  'Get /yr/todoList': (req, res) => {
    if (!util.hasToken(req.headers.token)) {
      return res.send({
        code: 401,
        message: '未登录',
      });
    }
    return res.send({
      code: 200,
      message: 'ok',
      data: [
        {
          id: '0001',
          complate: false,
          value: '10点面试',
        },
      ],
    });
  },
};
